/**
 * 
 */
package com.eagle.coders.core.action.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author Anees
 *
 */
public class ActionResponseBean implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private String beanName;
	private Map<String, Object> profpertiesValueMap;
	
	private List<ActionResponseBean> responses = new ArrayList<ActionResponseBean>();

	/**
	 * @return the responses
	 */
	public List<ActionResponseBean> getResponses() {
		return responses;
	}

	/**
	 * 
	 * @param beanName
	 * @param profpertiesValueMap
	 */
	public void setBeanValueMap(String beanName, Map<String, Object> profpertiesValueMap){
		ActionResponseBean responseBean = new ActionResponseBean();
		responseBean.setBeanName(beanName);
		responseBean.setProfpertiesValueMap(profpertiesValueMap);
		this.responses.add(responseBean);
	}

	/**
	 * @param beanName the beanName to set
	 */
	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	/**
	 * @param profpertiesValueMap the profpertiesValueMap to set
	 */
	public void setProfpertiesValueMap(Map<String, Object> profpertiesValueMap) {
		this.profpertiesValueMap = profpertiesValueMap;
	}

	/**
	 * @return the beanName
	 */
	public String getBeanName() {
		return beanName;
	}

	/**
	 * @return the profpertiesValueMap
	 */
	public Map<String, Object> getProfpertiesValueMap() {
		return profpertiesValueMap;
	}
	
	
}
